#include <stdio.h>

//数据的类型、数据的输入输出
//2.2 -1-printf

//练习printf
int main()
{
    int age=21;
    printf("Hello %s, you are %d years old\n","Bob",age);
    int i=10;
    float f=96.3;
    printf("student number=%-3d,score=%5.2f\n",i,f);//默认是右对齐，加一个负号变为左对齐
    i=100;
    f=98.21;
    printf("student number=%3d,score=%5.2f\n",i,f);
    return 0;
}

//语文就是我们的朋友
//语文解释
